Filter Font Awesome Cheatsheet for class names

webdeveloping, design, php development
Post Reply
User avatar
vst
Admin
Posts: 81
Joined: Thu Jan 15, 2009 2:36 pm

Filter Font Awesome Cheatsheet for class names

Post by vst » Fri May 29, 2015 1:40 pm

For wysiwyg parser rules i needed all classnames of FontAwesome in order to use them in said editor. To retrieve the classnames copy the names from the page http://fortawesome.github.io/Font-Awesome/cheatsheet/ into an text editor and do an regex search:

Code: Select all

^.*(fa-[^\s]*).*
replace with the search result

Code: Select all

\1
In my case i needed the format

Code: Select all

"\1": 1,
eg. "fa-adjust": 1,
I hope this helped a little.

regards
so long and thank you for the fish
staubmann.eu

Post Reply