Hey,
Quick note.
I'm not a web developer, but often I need to manipulate something that the source comes from the web. So today I needed to get a lista of names, but they came full of HTML mambo jumbo and I was like: "OMFG! How am I gonna get this done".
So after a quick Google search this dude, Art Upton, just gave it all the steps I needed:
1. Put you file to be stripped
2. Command+F
3. Selecte the "grep" tick box
4. Put this magical function on the "Find" field: </?[^>]*>
5. Press "Replace All"
6. BOOM! Magic.
Get a look on the source of the magic: http://bcdwp.web.tamhsc.edu/webmaster/2011/08/12/how-to-strip-html-code-using-grep-in-text-wrangler/
No comments:
Post a Comment