Now, I know most of you won't care; but over the years, I've always wanted to sit down and create a regex string that will capture certain values. Most of the time, I look on Google for about 10 mins, then I usually give up if I don't find it. Well, I decided to go ahead and start compiling a list of them here. If you have any helpful ones, let me know!
| Use When Finding |
Regex |
Description |
| HTML Begin and End Tags* |
(\</|\<)td[a-zA-Z0-9!@#$%^&\*\(\)-_=+\{\}\[\]:;\"',./\? ]*\> |
Replace 'td' with desired tag name |
Now, I am by no means an expert at regex, so there are probably better solutions for these strings. If you know of any corrections, please let me know. Thanks!