Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Raw string using r prefix

import re

string = '
 and 
 are escape sequences.'

result = re.findall(r'[

]', string) 
print(result)

# Output: ['
', '
']
 
PREVIOUS NEXT
Tagged: #Python #Raw #string #prefix
ADD COMMENT
Topic
Name
9+9 =