---
content_id: "121077950"
title: TextRegex
---
# TextRegex
## scoring_data:

```js
{
  "value": "(p|P)resident"
}
```

## Correct Case
### user_response:

```js
{
  "value": "president"
}
```

### scored_data:

```js
{
  "result_score": 1, "user_response": "president"
}
```

## Incorrect Case
### user_response:

```js
{
  "value": "Friend"
}
```

### scored_data:

```js
{
  "result_score": 0, "user_response": "Friend"
}
```
