Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python RegEx Compile

import re

# '*' replaces the no. of occurrence of a character.
p = re.compile('so*')
print(p.findall("softhuntsamsungsolonaspidersonysorry"))
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Python #RegEx #Compile
ADD COMMENT
Topic
Name
3+5 =