Metadata-Version: 2.1
Name: string_grab
Version: 1.0.0
Summary: Extract one or multiple substrings between two start and end strings.
Home-page: https://github.com/Julynx/string_grab
Author: Julio Cabria
Author-email: juliocabria@tutanota.com
Maintainer: Julio Cabria
Maintainer-email: juliocabria@tutanota.com
License: GPLv2
Description-Content-Type: text/markdown
License-File: LICENSE

# string_grab
*Extract one or multiple substrings between two start and end strings.*
```python
text = """Gender: female
       Race: White
       Birthday: 3/23/1973 (50 years old)
       Mobile: 715-523-1076
       Mobile: 715-563-3967
       Street: 4674 Lynn Avenue
       City, State, Zip: Eau Claire, Wisconsin(WI), 54701"""
```
```python
from string_grab import grab

birthday = grab(text, start="Birthday: ", end=" (")
print(birthday)

>> "3/23/1973"
```
```python
from string_grab import grab_all

for number in grab_all(text, start="Mobile: ", end="\n"):
    print(number)

>> "715-523-1076"
>> "715-563-3967"
```
