Run ❯
Get your
own Python
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
import re #The string property returns the search string: txt = "The rain in Spain" x = re.search(r"\bS\w+", txt) print(x.string)
The rain in Spain