mirror of
https://github.com/nhammer514/textfiles-politics.git
synced 2025-09-25 18:40:54 -04:00
Fixing up more regex
This commit is contained in:
parent
f22dc28126
commit
183eedad45
269 changed files with 3006 additions and 3054 deletions
|
@ -76,6 +76,16 @@ Find:\(?\d{3}-?\)? ?\d{3}-?\d{4}
|
|||
Replace with:<data type="phoneNumber">\0</digit>
|
||||
```
|
||||
|
||||
Fixing number format:
|
||||
Find: `(\d+?) 1/2`
|
||||
Replace with: `\1.5`
|
||||
|
||||
Find: `(\d+?) 1/8`
|
||||
Replace with: `\1.125`
|
||||
|
||||
Find: `(\d+?) 3/4`
|
||||
Replace with: `\1.75`
|
||||
|
||||
Finding percentages:
|
||||
```
|
||||
Find:\d*-*\d*\.?\d+%
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue