Regular Expressions 101

Community Patterns

Find and replace character in a string by postion

1

Regular Expression
Python

r"
(?<=^.{3})\w
"
gm

Description

Originally did this for adding random typos to string values for a lab assignment.

Submitted by anonymous - 4 years ago