Thread
:
Regex examples
View Single Post
01-02-2015, 05:04 PM
#
451
amrac
Junior Member
Posts: 2
Karma: 75742
Join Date: Jan 2015
Location: Lees, United Kingdom
Device: none
This will work:
<span class="italics">\w+ [\w+ ,]{1,}</span>
You may want to add all punctuation characters or any character a sentence may include. You can change this to:
<span class="italics">\w+ [\w+ ,\.\?\-]{1,}</span>
amrac
View Public Profile
Find More Posts by amrac
Track Posts by amrac via RSS