Skip to content

Commit f67c122

Browse files
committed
example regexes
1 parent 8ca1e5b commit f67c122

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,15 @@ Uses `preg_replace()` on a post_type / post_field combination.
66

77
You can select preview or LIVE modes to test your regex before you apply it.
88

9-
Within the LIVE mode you can either specify a single post ID or leave it optionally blank to apply the regex to ALL posts of that post type.
9+
Within the LIVE mode you can either specify a single post ID or leave it optionally blank to apply the regex to ALL posts of that post type.
10+
11+
12+
## Regexes used:
13+
14+
1. `/\? \<a href.*/s`
15+
16+
1. `/\<p\>\? \<a.*/s`
17+
18+
1. `/\?ALL PARKOUR TUTORIALS.*/s`
19+
20+
1. `/#londonparkour.*/`

0 commit comments

Comments
 (0)